home *** CD-ROM | disk | FTP | other *** search
/ RPG Maker - 43 Games / RPG MAKER (BEGE).iso / interface / it.dig / scripts / DefineSprite_260 / frame_3 / DoAction.as
Encoding:
Text File  |  2007-04-24  |  960 b   |  35 lines

  1. stop();
  2. executar_btn.setStyle("fontFamily","Verdana");
  3. executar_btn.setStyle("fontWeight","bold");
  4. executar_btn.setStyle("color","#FFFFFF");
  5. executar_btn.enabled = true;
  6. onEnterFrame = function()
  7. {
  8.    var _loc3_ = _root.descri.caminho.text;
  9.    _loc3_ = _loc3_.substring(_loc3_.length - 3,_loc3_.length);
  10.    if(this.comando.text == "shellopen")
  11.    {
  12.       _root.descri.executar_btn.label = "ABRIR";
  13.    }
  14.    else if(this.comando.text == "LINK")
  15.    {
  16.       _root.descri.executar_btn.label = "ABRIR URL";
  17.    }
  18.    else if(this.comando.text == "EXECUTAR")
  19.    {
  20.       _root.descri.executar_btn.label = "EXECUTAR";
  21.    }
  22.    else if(this.comando.text == "INSTALAR")
  23.    {
  24.       _root.descri.executar_btn.label = "INSTALAR";
  25.    }
  26.    else if(this.comando.text == "run.app")
  27.    {
  28.       _root.descri.executar_btn.label = "INSTALAR";
  29.    }
  30.    else if(this.comando.text == "JOGAR")
  31.    {
  32.       _root.descri.executar_btn.label = "JOGAR";
  33.    }
  34. };
  35.